package com.prp.gwt.client;

import com.google.gwt.user.client.rpc.IsSerializable;

public class ClientException extends Exception implements IsSerializable {

	private static final long serialVersionUID = -2217357708937766207L;
	private String message;
	private String title;
	
	public String getTitle() {
		return title;
	}

	@SuppressWarnings("unused")
	private ClientException(){
		
	}
	
	public ClientException(String title, String message){
		this.title = title;
		this.message = message;
	}
	
	@Override
	public String getMessage() {
		return message;
	}

}
